<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加任务</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<style>
#emptable td{
	border:none !important;
	}
#button{
	border-radius:10px;
	margin-left: 10px;
	width: 100px;
	height: 30px;
	border: none;
	font-size: 16px;
	color: #fff;
	background-color: #47a4e1;
	}
	
}
</style>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="calendar/WdatePicker.js"></script>

</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="main.do">首页</a>&nbsp;-&nbsp;
				<a href="taskmangae.do">任务清单</a>&nbsp;-</span>&nbsp;添加任务
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
				<form action="addtask.do" method="post">
					<div class="baTopNo">
						<span>添加任务</span>
						<hr>
					</div>
					<div class="baBody" >
						<table id="emptable">	
							<tr class="bbD">
								<td class="td">发布人:</td>
								<td>
									<select class="input3" name="eid" id="" style="width:302px">
										<option value="">请选择发布人</option>
										<c:forEach items="${sessionScope.emps }" var="emps">
											<option value="${emps.id}">${emps.empname }</option>
										</c:forEach>
									</select>
								</td>
							</tr>
							<tr class="bbD" >
								<td class="td">产品名称:</td>
								<td>
									<select class="input3" name="oid" id="" style="width:302px">
										<option value="">请选择产品名称</option>
										<c:forEach items="${sessionScope.orders }" var="orders">
											<option value="${orders.id}">${orders.name }</option>
										</c:forEach>
									</select>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">任务类型:</td>
								<td>
									<select class="input3" id="" name="tasktype" style="width:302px">
										<option value="1">设计</option>
										<option value="2">修改</option>
									</select>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">任务详情:</td>
								<td>
									<textarea class="input3" name="taskdetail" style="width: 300px;height:100px"></textarea>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">任务级别:</td>
								<td>
									<select class="input3" id="" name="tasklevel" style="width:302px">
										<option value="1">一般</option>
										<option value="2">重要</option>
										<option value="3">非常重要</option>
									</select>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">期望完成日期:</td>
								<td>
									<input type="text" class="input3" name="endtime" onclick="WdatePicker()" readonly="readonly"/>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">申请加急状态:</td>
								<td>
									<select class="input3" id="" name="urgentstate" style="width:302px">
										<option value="0">不加急</option>
										<option value="1">加急</option>
									</select>
								</td>	
							</tr>
							<tr class="bbD">
								<td class="td">到期天数:</td>
								<td>
									<select class="input3" id="" name="duedate" style="width:302px">
										<option value="0">准时</option>
										<option value="1">超时</option>
									</select>
								</td>	
							</tr>
							<tr class="bbD">
								<td class="td">任务负责部门:</td>
								<td>
									<select class="input3" name="dodept" id="dept" style="width:302px">
										<option value="">请选择部门</option>
										<c:forEach items="${sessionScope.depts }" var="dept">
											<option value="${dept.id}">${dept.name }</option>
										</c:forEach>
									</select>
								</td>	
							</tr>
							<tr class="bbD">
								<td class="td">协助部门:</td>
								<td>
									<select class="input3" name="otherdodept" id="" style="width:302px">
										<option value="">请选择部门</option>
										<c:forEach items="${sessionScope.depts }" var="dept">
											<option value="${dept.id}">${dept.name }</option>
										</c:forEach>
									</select>
								</td>	
							</tr>
							
							<tr class="bbD">
								<td class="td">任务状态:</td>
								<td>
								<select class="input3" id="" name="taskstate" style="width:302px">
									<option value="1">未完成</option>
									<option value="2">进行中</option>
									<option value="3">已完成</option>
								</select>
								</td>
							</tr>
							
						</table>
							<br>
						<input class="input3" type="submit" value="添加" id="button" style="text-align:center;border:none" />
						<input class="input3" type="reset" value="重置" id="button" style="text-align:center;border:none" />						
						<br><br>
					</div>
				</form>		
			</div>

			<!-- 上传广告页面样式end -->
		</div>
	</div>
</body>
</html>